package com.hui.platform.falseworkapi.common.core.exception;

import com.hui.platform.falseworkapi.common.core.I18nMessage;

/**
 * 业务异常
 * 业务处理时，出现异常，可以抛出该异常 ,结合断言异常枚举工具类
 *
 * @author Peng
 * @date 2019/11/6
 */
public class BusinessException extends BaseException {

    private static final long serialVersionUID = 1L;

    public BusinessException(I18nMessage i18nMessage) {
        super(i18nMessage);
    }

    public BusinessException(I18nMessage i18nMessage,Throwable cause) {
        super(i18nMessage,cause);
    }
}